const Sequelize = require('sequelize');
const sequelize = require('../libs/sequelize')

const User = require('./user')
const Tag = sequelize.define('tag', {
    id: {
        type: Sequelize.INTEGER,
        primaryKey: true,
        autoIncrement: true
    },
    name: {
        type: Sequelize.STRING
    }
});

Tag.sync({ force: true })

// Tag.belongsTo(User)

module.exports = Tag